﻿@{
    Layout = null;
}

<!DOCTYPE html> 
<html>
    <head>
        <title>@Language.Get("订单筛选")</title>
        @Html.Partial("commonMeta")
       <link href="~/css/photoswipe.css" type="text/css" rel="stylesheet" />
		<link rel="stylesheet" href="~/css/stock_app.css?v=@Wholesaler.Common.Version.Get" />
		<link rel="stylesheet" href="~/css/gems_app.css?v=@Wholesaler.Common.Version.Get" />
        <style>
        	.order-status{clear: both;padding-top: 10px;}
        	.order-status h4{margin-bottom: 5px;}
        	.order-status span{height: 27px;line-height: 27px;width:auto;padding: 0 10px;display: inline-block;background-color: #f5f5f5;
    			color: #909090;margin-bottom: 5px;float: left;margin-right: 5px;}
			.order-status span.active{color: #fff;background-color: #0099ff;}
			.list-block ul:before,.list-block ul:after{background-color: #fff;}
			.item-input input.date_input{display: inline-block;width:40%;padding-left: 5px;font-size: 0.65rem;border: 1px solid #b5b5b5;height: 30px;}
			.confirm_btn{display: block;width: 100%;text-align: center;height: 100%; color: #fff;line-height: 44px;font-size: 0.8rem;}
			.toolbar-inner a{display: inline-block;width:50%;float: left;}
			.toolbar-inner a:first-child{border-right: 1px solid #fff;}
        </style>
    </head>
    <body>
        <div class="views">
			<div class="view view-main">
				<div class="navbar">
					<div class="navbar-inner">
			            @* 头部start *@
			            <header id="common_header">
			                <a class="menu_icon_box" href="javascript:history.go(-1);">
								<b class="back-btn"></b>
							</a>
			                <h2>@Language.Get("订单筛选")</h2>
			            </header>
			            @* 头部end *@						
			            @* 引入菜单 *@
			            @Html.Partial("menu")
            		</div>
			    </div> 
			     <div class="toolbar">
				    <div class="toolbar-inner" style="padding: 0;">
				    	<a href="#" class="confirm_btn" id="reset_btn">@Language.Get("重置")</a>
				        <a href="#" class="confirm_btn" id="confirm_btn">@Language.Get("确定")</a>
				    </div>
				</div>
				<div class="pages navbar-through toolbar-through">
		          	<div data-page="index" class="page">
				        <!--内容区-->
						<div class="page-content" id="app_no_header">
							 @* 筛选框start *@
							 <div class="term-box order-term-box" id="order_term_box">
					           	<div class="order-status" id="OrderStatus">
					                <h4>@Language.Get("订单状态")</h4>
					                <span data-value="0">@Language.Get("全部") (<b id="status0">0</b>)</span>
					                <span class="all-status active" data-value="8">@Language.Get("正常")</span>
					                <span data-value="9">@Language.Get("异常")</span>
					                <span data-value="1">@Language.Get("待采购") (<b id="status1">0</b>)</span>
					                <span data-value="2">@Language.Get("待到货") (<b id="status2">0</b>)</span>
					                <span data-value="3">@Language.Get("待出货") (<b id="status3">0</b>)</span>
					                <span data-value="4">@Language.Get("已出货") (<b id="status4">0</b>)</span>
					                <span data-value="5">@Language.Get("已作废") (<b id="status5">0</b>)</span>
					                <span data-value="6">@Language.Get("已自留") (<b id="status6">0</b>)</span>
					                <span data-value="7">@Language.Get("已退回") (<b id="status7">0</b>)</span>
					            </div>
					            <div class="term pay-status" id="PaymentStatus">
					                <h4>@Language.Get("收款状态")</h4>
					                <span data-value="0">@Language.Get("未收")</span>
					                <span data-value="1">@Language.Get("已收")</span>
					                <!-- <span data-value="2">@Language.Get("未清")</span> -->
					            </div>
					            <div class="term" id="OriginSN_div">
					                <h4>@Language.Get("原货号")</h4>
					                <input type="text" class="goods-num" id="goodsNum" placeholder="@Language.Get("请输入原货号")" />
					            </div>
					            <div class="term" id="CertNo_div">
					                <h4>@Language.Get("证书号")</h4>
					                <input type="text" class="cert-num" id="certNo" placeholder="@Language.Get("请输入证书号")" />
					            </div>
					            <div class="term">
					                <h4>@Language.Get("客户")</h4>
					                  <input type="text" id="_customerCs" autocomplete="on" placeholder="@Language.Get("客户")" name="_customerCs" />
					            </div>
					            <!--<div class="term">
					                <h4>@Language.Get("客户名字")</h4>
					                <input type="text" id="customerName" placeholder="@Language.Get("请输入客户名字")" />
					            </div>-->
					            <div class="term">
					                <h4>@Language.Get("出货单")</h4>
					                <input type="text" id="billNo" placeholder="@Language.Get("输入出货单")" />
					            </div>
					            <!--<div class="term">
					                <h4>@Language.Get("重量")</h4>
					                <input type="text" id="weightValue" placeholder="@Language.Get("输入重量")" />
					            </div>-->
					            <div class="term" id="Color_box">
					                <h4>@Language.Get("颜色")</h4>
						            <select class="form-control list_search" name="color" title="@Language.Get("颜色")" id="_Color">
				                    </select>
			                 	</div>
			                    <div class="term">
					                <h4>@Language.Get("货品状态")</h4>
				                    <select class="form-control list_search" id="_orderStatus">
				                        <option value="" title="@Language.Get("货品状态 ")">@Language.Get("货品状态 ")</option>
				                        <option value="1">@Language.Get("在库")</option>
				                        <option value="2">@Language.Get("借出")</option>
				                        <option value="3">@Language.Get("实验室")</option>
				                        <option value="4">@Language.Get("保留")</option>
				                        <option value="5">@Language.Get("展会")</option>
				                        <option value="6">@Language.Get("报关中")</option>
				                    </select>
				                </div>
					            <div class="term">
					                <h4>@Language.Get("业务")</h4>
					                @*<input type="text" id="_salesUserID" placeholder="@Language.Get("输入业务员名")" autocomplete="on" name="_salesUserCs"/>*@
					                <select id="_salesUserID" class="form-control list_search" style="width:50%;border-radius:initial;border-color:#b5b5b5;"></select>
					                 
					            </div>
					            <div class="term">
					                <h4>@Language.Get("采购")</h4>
					                @*<input type="text" id="_purchaseUserIDs" placeholder="@Language.Get("输入采购名")" autocomplete="on" name="_purchaseUserCs"/>*@
					                <select id="_purchaseUserIDs" class="form-control list_search" style="width:50%;border-radius:initial;border-color:#b5b5b5;"></select>
					            </div>
								 @{
								 if(Wholesaler.Common.CommonPage.GetIsHideSupplier() =="1"){
									<div class="term">
										<h4>@Language.Get("供应商")</h4>
										<input type="text" id="_supplierCs" autocomplete="on" placeholder="@Language.Get("供应商")" name="_supplierCs" />
									</div>

					            <div class="term">
					                <h4>@Language.Get("原供应商")</h4>
					            	<input type="text" name="PurchaseSupplier" autocomplete="on" id="_PurchaseSupplier" placeholder="@Language.Get("原供应商")" />
								</div>
								 }
								 }
					            <div class="term order-time">
					                <h4>@Language.Get("下单日期")</h4>
					                <div class="list-block" style="margin: 0;">
										<ul>
										    <li>
										      <div class="item-content" style="padding-left: 0;">
										        <div class="item-inner">
										          <div class="item-input">
										            <input type="text" class="date_input" placeholder="@Language.Get("选择日期")" readonly id="beginTime">
										             <i>-</i>
				                       				 <input type="text"class="date_input" placeholder="@Language.Get("选择日期")" readonly id="endTime"/>
										          </div>
										        </div>
										      </div>
										    </li>
										</ul>
									</div>
					            </div>
					              <div class="term order-time">
					                <h4>@Language.Get("出货日期")</h4>
					                 <div class="list-block" style="margin: 0;">
										<ul>
										    <li>
										      <div class="item-content" style="padding-left: 0;">
										        <div class="item-inner">
										          <div class="item-input">
										            <input type="text" class="date_input" placeholder="@Language.Get("选择日期")" readonly id="deliStartTime">
										             <i>-</i>
				                       				 <input type="text"class="date_input" placeholder="@Language.Get("选择日期")" readonly id="deliEndTime"/>
										          </div>
										        </div>
										      </div>
										    </li>
										</ul>
									</div>
					            </div>
					            <div class="term order-time">
					                <h4>@Language.Get("到货日期")</h4>
					                 <div class="list-block" style="margin: 0;">
										<ul>
										    <li>
										      <div class="item-content" style="padding-left: 0;">
										        <div class="item-inner">
										          <div class="item-input">
										            <input type="text" class="date_input" placeholder="@Language.Get("选择日期")" readonly id="arrStartTime">
										             <i>-</i>
				                       				 <input type="text"class="date_input" placeholder="@Language.Get("选择日期")" readonly id="arriEndTime"/>
										          </div>
										        </div>
										      </div>
										    </li>
										</ul>
									</div>
					            </div>
					            
					            <!--<div class="term certType" id="CertType">
					                <h4>@Language.Get("证书")</h4>
					                <span>GIA</span>
					                <span>IGI</span>
					                <span>HRD</span>
					                <span>EGL</span>
					                <span>NGTC</span>
					                <span>NN</span>
					            </div>-->
					            <div class="term" id="_curtype">
					            	<h4>@Language.Get("结算币种")</h4>
					                <span class="CurrentRMB" data-value="1">@Language.Get("人民币")</span>
					                <span class="CurrentUSD" data-value="2">@Language.Get("美元")</span>
					            </div>
					            <div class="term" id="orderType">
					                <h4>@Language.Get("订单类型")</h4>
					                <span data-value="1">@Language.Get("客下")</span>
					                <span data-value="2">@Language.Get("代下")</span>
					                <span data-value="3">@Language.Get("录单")</span>
					                <span data-value="4">@Language.Get("二级")</span>
					            </div>
					            
					       </div>
				            @* 筛选框end *@
				            <div id="form_box"></div>
						</div>
		       		</div>
		       </div>
			</div>
		</div>
<div id="form_box"></div>
    </body>
    
</html>
@Html.Partial("commonTeamJs")
<script src="~/js/team/order_filter.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>